import React, { Component } from 'react';
import Routerview from '../../router/RouterView';
import Footer from '../../components/Footer'
import './style.scss'
class Index extends Component {
  render() {
    const { routes } = this.props
    return (
      <div className="home">
        <div className="main">
          <Routerview routes={routes}></Routerview>
        </div>
        <Footer routes={routes}></Footer>
      </div>
    );
  }
}

export default Index;
